Cover | TOC | Chap | Prev Chap | Prev Fig | Next Fig | Next Chap |
|
Figure 20.4
A sphere world illuminated by the headlight. |
|
Click on the image to view the VRML scene. |
#VRML V2.0 utf8 # The VRML 2.0 Sourcebook # Copyright (c) 1997 # Andrea L. Ames, David R. Nadeau, and John L. Moreland Transform { translation -7.5 -7.5 0.0 children [ DEF BallRow Group { children [ DEF Ball Shape { appearance Appearance { material Material { } } geometry Sphere { } }, Transform { translation 3.0 0.0 0.0 children USE Ball }, Transform { translation 6.0 0.0 0.0 children USE Ball }, Transform { translation 9.0 0.0 0.0 children USE Ball }, Transform { translation 12.0 0.0 0.0 children USE Ball }, Transform { translation 15.0 0.0 0.0 children USE Ball } ] }, Transform { translation 0.0 3.0 0.0 children USE BallRow }, Transform { translation 0.0 6.0 0.0 children USE BallRow }, Transform { translation 0.0 9.0 0.0 children USE BallRow }, Transform { translation 0.0 12.0 0.0 children USE BallRow }, Transform { translation 0.0 15.0 0.0 children USE BallRow } ] }